data=$1
klogx=$2

echo $data $klogx

#data
root -q -l -b 'drawFractionRatio.C("'$data'",0,"ETA0_'$data'.root","ETA1_'$data'.root","ETA2_'$data'.root","ETA3_'$data'.root","","",1,"ratio to (I)",3,'$klogx',0)'
root -q -l -b 'drawFractionRatio.C("'$data'",1,"ETA0_'$data'.root","ETA1_'$data'.root","ETA2_'$data'.root","ETA3_'$data'.root","","",1,"ratio to (I)",3,'$klogx',0)'
root -q -l -b 'drawFractionRatio.C("'$data'",2,"ETA0_'$data'.root","ETA1_'$data'.root","ETA2_'$data'.root","ETA3_'$data'.root","","",1,"ratio to (I)",3,'$klogx',0)'
root -q -l -b 'drawFractionRatio.C("'$data'",3,"ETA0_'$data'.root","ETA1_'$data'.root","ETA2_'$data'.root","ETA3_'$data'.root","","",1,"ratio to (I)",3,'$klogx',1)'
